<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class mycommend extends rows{
 	function init(){
 		$this->tableName="sn_mycommend";
 		$this->col["cmdid"]   = new column("cmdid",dataCheck::INTEGER);
 		$this->col["cmdtitle"] = new column("cmdtitle",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["cmdcontent"] = new column("cmdcontent",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["cmduid"]  = new column("cmduid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["cmdurl"]  = new column("cmdurl",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["cmdtype"]  = new column("cmdtype",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["cmdgoodnum"]  = new column("cmdgoodnum",dataCheck::INTEGER);
 		$this->col["cmdbadnum"]  = new column("cmdbadnum",dataCheck::INTEGER);
 	} 	 	
 }
